/*
 * Copyright 2011 Clean GWT
 *
 * Licensed under the Apache License, Version 2.0 (the "License"); you may not
 * use this file except in compliance with the License. You may obtain a copy of
 * the License at
 *
 * http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
 * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
 * License for the specific language governing permissions and limitations under
 * the License.
 */
package com.cleanform.gwt.chinesechess.shared.form;

import com.cleanform.gwt.chinesechess.shared.action.Actions;

/**
 * The form bean for {@link Actions#MOVE_CHESS}.
 * 
 * @author Jess
 * @version 1.0
 * @since 1.0
 */
public class ChessForm extends GameForm {
	private int sx;
	private int sy;
	private int tx;
	private int ty;
	private int source;
	private int target;

	public int getSource() {
		return source;
	}

	public int getSx() {
		return sx;
	}

	public int getSy() {
		return sy;
	}

	public int getTarget() {
		return target;
	}

	public int getTx() {
		return tx;
	}

	public int getTy() {
		return ty;
	}

	public void setSource(int source) {
		this.source = source;
	}

	public void setSx(int sx) {
		this.sx = sx;
	}

	public void setSy(int sy) {
		this.sy = sy;
	}

	public void setTarget(int target) {
		this.target = target;
	}

	public void setTx(int tx) {
		this.tx = tx;
	}

	public void setTy(int ty) {
		this.ty = ty;
	}
}
